diff options
| author | Factiven <[email protected]> | 2023-04-28 17:31:15 +0700 |
|---|---|---|
| committer | Factiven <[email protected]> | 2023-04-28 17:31:15 +0700 |
| commit | b546c63c38c608cfbbf68ddd1aa4d1327489d91c (patch) | |
| tree | 026da192199357ade56d1836720981417ecbe9a3 /pages/anime/[...id].js | |
| parent | Editor List v0.3 (diff) | |
| download | moopa-b546c63c38c608cfbbf68ddd1aa4d1327489d91c.tar.xz moopa-b546c63c38c608cfbbf68ddd1aa4d1327489d91c.zip | |
Editor List v0.4
Diffstat (limited to 'pages/anime/[...id].js')
| -rw-r--r-- | pages/anime/[...id].js | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pages/anime/[...id].js b/pages/anime/[...id].js index 9ad58a2..5e66133 100644 --- a/pages/anime/[...id].js +++ b/pages/anime/[...id].js @@ -451,7 +451,11 @@ export default function Info() { className="bg-action px-10 rounded-sm font-karla font-bold" onClick={() => handleOpen()} > - {statuses ? statuses : "Add to List"} + {loading + ? statuses + ? statuses + : "Add to List" + : "Loading..."} </button> <div className="h-6 w-6"> <HeartIcon /> @@ -504,7 +508,11 @@ export default function Info() { className="bg-action flex-center z-20 h-[20px] w-[180px] absolute bottom-0 rounded-sm font-karla font-bold" onClick={() => handleOpen()} > - {statuses ? statuses : "Add to List"} + {loading + ? statuses + ? statuses + : "Add to List" + : "Loading..."} </button> </> ) : ( |